#ifndef __MAIN_INC
#define __MAIN_INC

#define OPENCV
#include "udp.hpp"
#include <thread>
#include <opencv2/opencv.hpp>
#include <atomic>
#include <stdlib.h>
#include "mav_msg.h"
#include <time.h>
#define printmsg(sg) std::cout << sg << std::endl
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
#define dxnum 1.0
#include <Windows.h>
#else
#define dxnum 0.001
#include <unistd.h>
#define Sleep(x) usleep(x * 1000)
#endif

using namespace udpio;
using namespace asio;
using namespace std;
using namespace cv;

#endif